var host = 'localhost:8000';
var config = { 
    service: { 
        // 登录地址，用于建立会话 
        product_list_url: `http://${host}/api/product/list`,
        product_detail_url: `http://${host}/api/product/detail`,
        doctor_list_url: `http://${host}/api/doctor/list`,
        doctor_detail_url: `http://${host}/api/doctor/detail`,
        user_login_url: `http://${host}/api/user/login`,
        user_register_url: `http://${host}/api/user/register`, 
        user_detail_url: `http://${host}/api/user/detail`, 
        user_update_url: `http://${host}/api/user/update`, 
        user_exit_url: `http://${host}/api/user/exit`, 
        appointment_add_url: `http://${host}/api/appointment/add`, 
        appointment_mylist_url: `http://${host}/api/appointment/mylist`, 
        message_add_url: `http://${host}/api/message/add`, 
        message_mylist_url: `http://${host}/api/message/mylist`, 
        message_mydetail_url: `http://${host}/api/message/mydetail`, 
        message_last_url: `http://${host}/api/message/last`, 
        buy_add_url: `http://${host}/api/buy/add`, 
        buy_doing_url: `http://${host}/api/buy/doing`, 
        buy_done_url: `http://${host}/api/buy/done`, 
        buy_cancel_url: `http://${host}/api/buy/cancel`, 
        buy_commit_url: `http://${host}/api/buy/commit`, 
        buy_buy_url: `http://${host}/api/buy/buy`,
    }
};

module.exports = config;